#include "stdafx.h"
#include "IntroState.h"
#include "MainMenuState.h"
#include "BMPText.h"

#include "TalkingDialogueBox.h"

IntroState::IntroState(void)
{
}

IntroState::~IntroState(void)
{
}

#define DIALOGUE "uherwasdbnfbsbfvibaswrfisugdfskjdbfsdfbaiosfvbibsdhkbfaisoyufiwyeg"
void IntroState::Init()
{
	pBox = new TalkingDialogueBox();
	pBox->SetupDialogueBox(DIALOGUE, "Matt", "resources/talkbox.png", LITTLE_FONT);
}

#define TIME_TO_ADD 0.1f
void IntroState::Update(float _dt)
{
	pBox->Update(_dt);
}

void IntroState::Render()
{
	ObjectManager::GetInstance()->RenderObjects();
}

void IntroState::Shutdown()
{
	ObjectManager::GetInstance()->RemoveAllObjects();
}
